#pragma once

#include "../DD_ImgCfg.h"

class xkReadOldFile
{
public:
	xkReadOldFile(void);
	~xkReadOldFile(void);

public:
	int ExtractImgInfo(char *pFileName,zkImgCapParam *pImgCapParam,zkImgAssParam *pImgAssParam);

private:
	int ExtractInfo(char *pDesc,zkImgCapParam *pImgCapParam,zkImgAssParam *pImgAssParam);

	int ExtractBrsInfo(char *pDesc,zkImgCapParam *pImgCapParam,zkImgAssParam *pImgAssParam);
	int ExtractBrsInfo2(char pItem[][128],int nCount,zkImgCapParam *pImgCapParam,zkImgAssParam *pImgAssParam);

private:
	char* GetValueBrs(char pItem[][128],int nCount,char *pName);

private:
	char m_sBuffer[1024*20];

};
